package com.example.nettydemo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.concurrent.atomic.AtomicInteger;


/**
 * @author WZW
 * @date 2020/5/8
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "game")
public class GameConfig {
    private AtomicInteger manage;
    private AtomicInteger minHog;
    private AtomicInteger maxHog;
    private AtomicInteger pourTime;
    private AtomicInteger hogTime;
    private AtomicInteger gameNo;
    private AtomicInteger[] chance;
}
